<#include "ignore.field.ftl">
<!DOCTYPE html>
<html>
<head>
    <title>Title</title>
    <#noparse><#include "../head.ftl"/>
    <!--页面模版宏-->
    <#include "../_macro/edit.ftl"/>
    <#include "edit_js.ftl"/>
    </#noparse>
</head>
<body class="margin-0">
<form class="layui-form" action="">
    <#noparse><input type="hidden" value="${data.id!}" name="id"/></#noparse>
    <#noparse><@editBtnView></#noparse>
    <#list page.formAct as item>
        <button type="submit" class="layui-btn layui-btn-sm ${item.css!}" lay-submit lay-filter="${item.func}">${item.title!}</button>
    </#list>
    <#noparse></@editBtnView></#noparse>
    <#noparse><@editView></#noparse>
        <#list page.formCol as item>
                <#if item.type=='TEXT'>
                <@TEXT field=item.field title=item.title width=item.width verify=item.verify max=item.max min=item.min></@TEXT>
            <#elseif  item.type=='SELECT'>
                <@SELECT field=item.field title=item.title width=item.width dict=item.dict verify=item.verify max=item.max min=item.min></@SELECT>
            <#elseif  item.type=='MULI_TEXT'>
                <@MULI_TEXT field=item.field title=item.title width=item.width verify=item.verify max=item.max min=item.min></@MULI_TEXT>
            </#if>
        </#list>
    <#noparse></@editView></#noparse>
</form>
<#noparse><@editJs saveUrl="</#noparse>/${module}/data/save"/>
</body>
</html>